package me.sapling.model;

/**
 * @author sapling
 */
public class PageContent {
	private int content;
	private float x;
	private float initX;
	private float y;
	private float initY;
	private int size;
	private float stepX;
	private float stepY;

	public PageContent(int content, float x, float y, int size) {
		this.content = content;
		this.size = size;
		this.x = x;
		this.y = y;
	}

	public PageContent(int content, float x, float y) {
		this(content, x, y, 12);
	}

	public PageContent(int content) {
		this(content, 0, 0);
	}

	public void setSize(int size) {
		this.size = size;
	}

	public void setX(float x) {
		this.x = x;
	}

	public void setY(float y) {
		this.y = y;
	}

	public int getContent() {
		return content;
	}

	public int getSize() {
		return size;
	}

	public float getX() {
		return x;
	}

	public float getY() {
		return y;
	}

	public float getInitX() {
		return initX;
	}

	public void setInitX(float initX) {
		this.initX = initX;
		setX(initX);
	}

	public float getInitY() {
		return initY;
	}

	public void setInitY(float initY) {
		this.initY = initY;
		setY(initY);
	}

	public float getStepX() {
		return stepX;
	}

	public void setStepX(float stepX) {
		this.stepX = stepX;
	}

	public float getStepY() {
		return stepY;
	}

	public void setStepY(float stepY) {
		this.stepY = stepY;
	}
}
